<?php
class CaptchaAction extends Action
{
	public function execute()
	{
		$seed = uniqid();
		$word = Captcha::getWord($seed);
		Cookie::setCookie(array("name" => "captcha_seed", "value" => $seed));
		Captcha::generateImage($word);
	}
}